home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-06-28 | 531 b | 26 lines | [TEXT/CWIE] |
- // HasHorizontalJustification.h
-
- #ifndef HasHorizontalJustification_h
- #define HasHorizontalJustification_h
-
- class Justification;
-
- class HasHorizontalJustification
- {
- private:
- const Justification *horizontal;
-
- protected:
- virtual void HorizontalJustificationChanged() = 0;
-
- public:
- HasHorizontalJustification( const Justification& j )
- : horizontal( &j )
- {}
-
- const Justification& HorizontalJustification() const { return *horizontal; }
- void SetHorizontalJustification( const Justification& );
- };
-
- #endif
-